Repository navigation
fix(ci): restore dylint nightly toolchain visibility and adopt setup-soldr native dylint cache - #174
Merged
Merged
Conversation
…ative dylint cache The #172 change routed the dylint nightly install through `soldr rustup`, which installs into soldr's private toolchain home instead of the setup-soldr-exported RUSTUP_HOME, so the dylint driver build lost its rustc-dev components and failed with E0463 on all four lint platforms. Install the nightly with bare rustup (unconditional — it is not part of the dylint cache), and replace the hand-rolled actions/cache step with setup-soldr's native dylint-cache inputs, gating the cargo-dylint / dylint-link installs on its dylint-cache-hit output. Refs #170 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
soldr rustup toolchain installplaced the dylint nightly in soldr's private toolchain home instead of the setup-soldr-exportedRUSTUP_HOME, so the dylint driver build failed withE0463: can't find crate for rustc_driveron all four lint platforms (visible on PR chore(release): bump version to 2.0.12 #173).rustup(unconditional — the toolchain is not part of any dylint cache paths).actions/cachestep (its~/.rustup/~/.dylint_driverspaths never matched the managed homes anyway) in favor of setup-soldr's nativedylint-cacheinputs, gating thecargo installsteps on thedylint-cache-hitoutput.Refs #170
Test plan
actionlint .github/workflows/_lint.ymlpasses